package com.zone.modular.system.sysuser.controller;


import com.zone.config.mybatis.Result;
import com.zone.modular.system.sysuser.service.SaidaoService;
import com.zone.modular.system.sysuser.service.XiangmuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ZoneWonderful
 * @since 2022-08-23
 */
@RestController
@RequestMapping("/saidao")
public class SaidaoController {
    @Autowired
    private SaidaoService saidaoService;

    @GetMapping("/getList")
    public Result getList(){
        return Result.ok(saidaoService.getList());
    }
}

